CommonEvent 3000
Name = "敗北後処理"

  999([3000])
  ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
  Script(["forced_get_off_vehicle"])
  Script(["end_multiparty"])
  ControlSwitches([31, 39, 1])
  ControlSwitches([97, 97, 1])
  ControlSwitches([100, 100, 0])
  ControlSwitches([22, 22, 1])
  ControlSwitches([81, 81, 1])
  ControlSwitches([82, 82, 1])
  ControlSwitches([83, 83, 1])
  ControlSwitches([84, 84, 1])
  ControlSwitches([85, 85, 1])
  ControlSwitches([86, 86, 1])
  ControlSwitches([27, 27, 1])
  ControlSwitches([2333, 2333, 1])
  ControlSwitches([509, 509, 1])
  ControlVariables([11, 11, 0, 0, 0])
  ControlVariables([157, 157, 0, 0, 0])
  ControlSwitches([507, 507, 1])
  CallCommonEvent([11])
  RecoverAll([0, 0])
  ChangeTransparency([1])
  ConditionalBranch([0, 87, 0])
    ControlSwitches([87, 87, 1])
    ControlSwitches([100, 100, 1])
    ConditionalBranch([0, 28, 0])
      ControlSwitches([23, 23, 1])
      ControlVariables([902, 902, 0, 1, 908])
      CallCommonEvent([112])
      Empty([])

    BranchEnd([])
    Wait([120])
    ChangePlayerFollowers([0])
    ConditionalBranch([1, 1143, 0, 20, 2])
      Script(["forced_transfer(484,14,10)"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1143, 0, 21, 1])
      Script(["forced_transfer(1199,14,10)"])
      Empty([])

    BranchEnd([])
    Script(["release_temp_actors"])
    Script(["$game_map.screen.clear"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 41, 0])
    CallCommonEvent([902])
    ChangePlayerFollowers([0])
    Script(["forced_transfer(644,18,15)"])
    Script(["release_temp_actors"])
    Script(["$game_map.screen.clear"])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 8, 1])
    Script(["forced_transfer(154,18,52)"])
    ChangePlayerFollowers([1])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 508, 1])
    Script(["release_temp_actors"])
    Empty([])

  BranchEnd([])
  Script(["$game_map.screen.clear"])
  Empty([])
